/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package simplepushserver.filesend;

/**
 *
 * @author Fille
 */

public class DataTimeUnits {
    public static final DataTimeUnits BYTES = new DataTimeUnits();
    public static final DataTimeUnits KILOBYTES = new DataTimeUnits();
    public static final DataTimeUnits MEGABYTES = new DataTimeUnits();

    public String toString(){
        if(this==BYTES)
            return "Bytes/s";
        else if(this==KILOBYTES)
            return  "KB/s";
        else
            return "MB/s";
    }
}


    
